<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>服务卡扫码收费</title>
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/form.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="css/service_card.css" />
    <link rel="stylesheet" type="text/css" href="css/editStyle.css" />

    <!-- <link rel="stylesheet" type="text/css" href="css/plantasklist.css" />
    <link rel="stylesheet" type="text/css" href="css/plandevicetaskdetail.css" /> -->
    <style>
        body {
            background: #f5f5f5 !important;
        }

        .aui-content {
            padding-bottom: 1rem;
        }

        .aui_listbox {
            width: 94%;
            margin: 10px auto;
            background: #fff;
            border-radius: 10px;

        }

        .aui-refresh-content {
            z-index: 999;
        }

        .his_title,
        .his_dec {
            font-size: 0.7rem;
        }

        .mask_bg {
            position: fixed;
            z-index: 9999;
            background: rgba(0, 0, 0, 0.3);
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
        }

        .choose_box {
            position: fixed;
            min-height: 260px;
            max-height: 400px;
            z-index: 10000;
            background: #fff;
            top: 50%;
            left: 10%;
            right: 10%;
            margin-top: -200px;
            border-radius: 10px;
            box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }

        .win_btn {
            width: 80%;
            margin: 0 auto;
            overflow: hidden;
        }

        .btn_bottom {
            width: 46%;
            border-radius: 20px;
            height: 1.6rem;
            line-height: 1.6rem;
            font-size: 0.7rem;
            text-align: center;
        }

        .border_btn {
            border: solid 0.5px #289FFF;
            color: #289FFF;
        }
        .aui-bar-nav{
            background-color: #289FFF;
        }

        .background_btn {
            background: #289FFF;
            color: #fff;
        }

        .choose_room_title {
            position: relative;
            text-align: center;
            line-height: 2.5rem;
            margin-top: 0.5rem;
            font-size: 0.9rem;
            border-bottom: solid 0.5px #f5f5f5;
        }

        .choose_room_content {
            margin: 2rem 8px 2.3rem 8px;
        }

        .choose_room_item {
            /* background: #f00; */
            position: relative;
            padding-left: 15px;
            padding-right: 15px;
            margin-bottom: 0.25rem;
            text-align: center;
        }
        .win_dec{
            font-size: 0.75rem;
            color: #333;
        }
        .win_price{
            font-size: 0.7rem;
            color: #333;

        }
        .win_price span{
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <div class="mask_bg" v-on:click="doCloseRoom()" v-if="IsRoomOpen"></div>
        <div class="choose_box" v-if="IsRoomOpen">
            <div class="choose_room_title">
                <div class="choose_room_title">收款信息确认</div>
            </div>
            <div class="choose_room_content">
                <div class="choose_room_item">
                    <div class="win_dec">本次收款金额为</div>
                    <div class="win_price">￥<span>{{parseFloat(Balance).toFixed(2)}}</span></div>
                </div>
            </div>
            <div class="win_btn">
                <div class="btn_bottom border_btn fl" v-on:click="doCloseRoom()">取消</div>
                <div class="btn_bottom background_btn fr" v-on:click="do_suresave()">确定收款</div>
            </div>
        </div>
        <header class="aui-bar aui-bar-nav topheader" id="aui-header" style="height: 5rem;">
            <div class="aui-tab" style="background: #289FFF; padding-top: 5px; ">
            </div>
        </header>
        <section id="main_refresh" class="aui-refresh-content">
            <div class="aui-content aui_listbox">
                <div class="history_list">
                    <div class="his_item_dec">
                        <div class="his_oneline">
                            <div class="his_title fl aui-ellipsis-1">资源位置</div>
                            <div class="his_dec fr">{{form.FullName}}</div>
                        </div>
                    </div>
                    <div class="his_item_dec">
                        <div class="his_oneline">
                            <div class="his_title fl">资源编号</div>
                            <div class="his_dec fr">{{form.Name}}</div>
                        </div>
                    </div>
                    <div class="his_item_dec">
                        <div class="his_oneline">
                            <div class="his_title fl">住户名称</div>
                            <div class="his_dec fr">
                                {{form.RelationName==''?'--':form.RelationName}}
                            </div>
                        </div>
                    </div>
                    <div class="his_item_dec">
                        <div class="his_oneline">
                            <div class="his_title fl">手机号码</div>
                            <div class="his_dec fr">{{form.RelatePhoneNumber==''?'--':form.RelatePhoneNumber}}</div>
                        </div>
                    </div>
                    <div class="his_item_dec">
                        <div class="his_oneline">
                            <div class="his_title fl">服务卡名称</div>
                            <div class="his_dec fr">{{form.ServiceCardName}}</div>
                        </div>
                    </div>
                    <div class="his_item_dec">
                        <div class="his_oneline">
                            <div class="his_title fl">服务卡ID</div>
                            <div class="his_dec fr">{{form.ServiceCardNumber}}</div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="aui-content aui_listbox">
                <div class="">
                    <div class="aui_formitem">
                        <div class="aui_formtitle">本次收款金额<img class="col-star" src="../image/redstar.png"></div>
                        <div class="aui_formcontent">
                            <input type="number" placeholder="请填写金额" v-model="Balance">
                        </div>
                    </div>
                    <div class="aui_formitem block" style="border-bottom: none;">
                        <div class="aui_formtitle">说明信息</div>
                        <div class="aui_formcontent" style="padding-left: 0px;">
                            <textarea placeholder="可填写说明信息 （选填）" v-model="Explain"
                                style="height: 4rem;"></textarea>
                        </div>
                    </div>

                </div>
            </div>

        </section>
        <div class="bottom">
            <div class="aui_bottombtn" v-on:click="do_save()">确认收款</div>
        </div>
    </div>
</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vant/vue.js"></script>
<script type="text/javascript " src="../script/vant/vant.js"></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-popup-new.js"></script>
<script type="text/javascript" src="../script/aui-tab.js"></script>
<script type="text/javascript" src="../script/aui-pull-refresh.js"></script>
<script type="text/javascript" src="../script/webSocket.js"></script>
<script type="text/javascript" src="../script/aui-scroll.js"></script>
<script type="text/javascript" src="../script/aui-popup.js"></script>
<script type="text/javascript " src="js/service_saoma_add.js"></script>

</html>